//
//  DisclosureDetailControllerViewController.m
//  09 Nav
//
//  Created by willter on 13-2-28.
//  Copyright (c) 2013年 willter. All rights reserved.
//

#import "DisclosureDetailControllerViewController.h"

@interface DisclosureDetailControllerViewController ()

@end

@implementation DisclosureDetailControllerViewController
@synthesize label;
@synthesize message;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}
// 每次都要执行的代码
- (void)viewWillAppear:(BOOL)animated {
    label.text = message;
    [super viewWillAppear:animated];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)dealloc {
    [label release];
    [message release];
    [super dealloc];
}
@end
